package com.eexcel.workbench;

/**
 * Defines the Extension point contract
 * @author root
 *
 */
public interface IFormula {
	
	/**
	 * Gets the functions implemented by the plugin
	 * @return Array of strings each containing a function name
	 */
	String[] getFunctions();
	
	/**
	 * Performs the formula
	 * @param operando Operand
	 * @return Result
	 */
	int calculate(String function, int operando);
}
